/**
 * 
 */
package com.china08.yxyapi.entity.mg.platform;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * @author Richard.Wang
 *
 */
@Document(collection = "yxy.platform.home.slider")
public class YxyHomeSlider extends MongoBaseEntityNoId {

    private static final long serialVersionUID = -2989707696429561744L;

    @Id
    private String id;

    @Field(value = "img")
    private String img;

    @Field(value = "order_num")
    private int orderNum = 100;

    @Field(value = "status")
    private int status = 0;

    @Field(value = "url")
    private String url;

    @Field(value = "edb_id")
    private String edbId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getEdbId() {
        return edbId;
    }

    public void setEdbId(String edbId) {
        this.edbId = edbId;
    }

}
